Fix a bug happens when error is returned.
Bump version.