remove some some map keys.
Fixed Directory sort on mac.