fixes overflowing