fixed compile errors
compiles