fix another issue with dict_del