refactor
set attribute default param