more compile errors fixed