fixed binary check