Fix crash on creating new project