avoid unicode decode error