fixed problem with deployment on tomcat