Fixed check for public project