fixed crash when returning to a previous predictions view