minor edits to code for nav