Bugfix binary conversion