mod validation fixes