fix for using undertow instead of tomcat