fix bug: dict type has not method remove