fix call onSuccess method