fixed frontConfig minify and and fixed some bugs