fixed getting task's info