fix bug with holes