fix checking for project name