minor fixes to backend, models, schema