Fix $add promise to resolve ref
Merge pull request #220 from apai4/patch-2

Fix $add promise to resolve ref