fix scope binding error