fix global minifying