better err. message for static pages