make errors in graph merging process fatal