unbind before rebind, partial fix towards #2413 issue