wouldn't it be more feasible to fix LocateBinary code?