binary encoding & fix exist