fixing models and migrations