fix tx
add basic type
fix attr