removes some code that broke a save function in models in production