remove duplicate routes from ugly hack