try name as type attr name