simplify attribute types