ignore case for n when propagaing gaps