fixed output for database name