fixing utf-8 encoding problem