db name bug fix