Fix nav bar open link bug