- fixed compile errors