fix bind types
Merge pull request #73 from xboston/patch-9

fix bind types