fix ~ files