fixed compile errors - everything currently sync