improve check_project function