avoiding unicode errors