fix for buggy hadoop-2.0.2