fix bug with tenders.jsp