Minor fix ManageDB