fixed prediction error, working on second fix