fixed binding bug