added new variable for error pages