Added license
Fixed binding bug