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