some more ASN.1 fixes

these should have been in #49