fixing tomcat 7