fix insert and remove bindings to and from null state