fixed bug in default set attributes