Fixed the prj doesn't cancel problem