deal with inefficiencient behaviour when chain is forked