db manager: fix #8146