fixes malformed projects