addBinding bug fix