fixing minification bug