Cleanup navigation string.