fix bug in minified file