change sequential validation for orientation dompdf