Fix default value for $attributes