fix binding bug