fixed a bug in binning