change HashMap into LinkedHashMap