finish dict_set