more changes to support indel output from merge