Fixed success callback bug
Merge pull request #1 from glatorre/master

Fixed success callback bug