fixed minify for dom files