a few correction in binDataBy