fixed some other compile errors