remove unused key map, change the xml folding