fix order to type.enc.format