Fixed another overflow bug