fixed the project deleting issue and test failure