more key/value type checks