minor gapfill method update