fix bug: dict type has no method remove