fixed to run in wildfly