bug fixed for cygnus hadoop. Tested in hadoop environment