added prediction correction