remove unused imports
optimize when a task is finished, reduce a task info get