fix the error_page problem