supporting error pages closes #7