fixed problem with binary