fixes to hadoop crap