Code refactoring

record2AttrsList()
clearAttrsList()