fix(sign): handle the case that signature set is nil

fix #184