Resolved bug on success callback