Fix project generator

this will fix #353