fixed a few issues in error pages