Fixes xss in error page