fix error warining in history.jsp