Fix overflow in irb print