Remove unnecessary code and fix Sign message