bugfix: custom error pages