Fixed project creation when it is from template