Fixed bug when creating new project