fixing xus/removeAll and link handling