Fix project template generation