fix CRM-12027
Merge pull request #2 from dlobo/CRM-12027

fix CRM-12027