change hash map to uthash