Fixed new signature calculation

Fixed new signature calculation