Fixing bug in gap filling with probabilistic annotation