binarypath detection fix