removing extraneous 'and' from database name