Trying to fix binary encoding problem.