#119 fix encoding