Error page validation fix