Bug fixes for JSP Interface.