Fix overflow treasure