rewrite extended-attr