fix duplicate task name and project name bug