Fixing errors with transformed models