fix a bug in += : frac=0.