fix current task issue.