Fix bugs for 400,000 Kimoto Gravity Well fork.