Fix to clear the navigation