remove deprecated bindAttr and replace with bind-attr