Hotfixes for custom error page