fix bug where error message wouldn't go away after failing and then succeeding at creating a prediction