fixes navigation issues.