simplify schemaCache a bit