fix bind-attr
Merge pull request #7 from hayd/bind_attr

update bind-attr