fixed index.jsp valid input