Bug fix tomcat undeploy