fixing async calls and return objects
Merge pull request #1 from ric03uec/master

fixing async calls and return objects