Fixed a bug in the overflow.