fixed minor bug in minification