Fixed error when creating a new project.