Fixing problem with gap filling.