Fix error page locations