Fixed dbconstants access