fixing database names