fix prediction error