fix encoding issue with wildfly