fixed msg.headerFields getting changed on verification of signature