fixed validation of signature fields