Fix syntax error in set default attribute