main.jsp bug fixed