fixed binary edit 'bug'