don't try to work with an invalid key