Remove garbage from route types