fixed the rebin error in xjg