bug fix for encoding issue with foreign characters