fix unicode decode error