mod validate page for error control