remove all the silly segment generic parameters