fix k,v bug in for-of