debug schema and model