minor bugs in errors pages