corrected for unicode