fixed model validator