Fix bug with db name