fixed problems with minifying