fixes bug generating new projects