Fix creating and editing projects