bugfix of bugfix for overflow bug