fix matching of keys that have no separator