Fixed bindAttr helper.