fix issue

[AGCORDOVA-47](https://issues.jboss.org/browse/AGCORDOVA-47)