fix minor bug: add task argument was not passed to tak