fix attrs