fixed issue with promises callbacks when using the .then args helper