cleaned up a few compile errors