fixing holes condition