fix for: https://issues.jboss.org/browse/SRAMP-429

https://issues.jboss.org/browse/SRAMP-429