bug fix

stray call to encode unicode