fix view.sign bug,add docs