allow for tomcat 7