small fix
added SYNC_LOCK