Make 404,500 pages works