tomcat7 and bug fix