- fix for debug warnings when accessing error page for example