fixing https://issues.apache.org/jira/browse/STRATOS-498