add pending info
correct print err,shoud be %v, not %vv