fixed db manager