fix db prefix issue