Fixed db location issue