bug fix - dict removal