fix for class loading on tomcat