move v3 key import prevention into canonicalization method