remove deprecated fields form model