make repairdb actually do something