fix require task‘s path error