Fixed database name issue