fixing bug with readding same key to be observed