fix problems when project are deleted from file-system