resetPredData now works correctly