fix done, api tests passed with it
Merge pull request #3 from EDMdesigner/hotfix-RED-2161

fix done, api tests passed with it