put signatureType where it belongs