return rev to _rev