fix uglify error