Fix current_revision