fix unicode compatibility