fix bug pred-corr