replace bindAttr with bind-attr