fixed minification dependency issues