block all leaks to http return page when error occurs