refactoring: attrTyp will no longer return bound type params

use attrTypeRaw when it is really needed