handle wrong case and bogus database handler names