fixed re-binned error computation