dict item removal fixes