kill handler404 class due to html minify middleware error