fixed mgmt db api