add cc_hashmap to some methods and macro