Clearing anchor after errors so can resubmit - fixes #29