revert hashmap -> linkedhashmap