fixed small issue with encoding