binding bug fixes