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