fix minifier problems