fixing strange uglify-related bug