remove invalid route