unbind before bind avoid duplicate bindings