Fix overflow on debug