fix for https://issues.jboss.org/browse/APIMAN-124
Merge pull request #14 from EricWittmann/APIMAN-124

fix for https://issues.jboss.org/browse/APIMAN-124