python hadoop bug fix