fix migration, enable to get repository model, fix indent