fixes like 20 compile errors