fix wildfly crash