fixed the bug trapping us at about block 12000