fixing double encoding
Merge pull request #68 from eranroz/master

fixing double encoding