Fixed a bug in passing the args to the success function.