Fix bug in create project