make binary check optional