fixed some prediction errors