Fixed small issue with encoding