Fixed get_revision method call