fix getting validate errors