Fixed predict ids.