fixes navigation buttons