fixes for error page