fixed the error with minification when releasing.