before delete project