fixed https://issues.jboss.org/browse/APIMAN-151