use bind-attr instead deprecated bindAttr