fix hardcode db name issue