correction of tomcat tasks