fixing more compile errors