Remove rogue lines form routes