fix further compiler messages, still crashing