fix mapreduce log encode