Fix overflow error