fixes issue #745
Merge pull request #763 from mozilla-appmaker/745

fixes issue #745