LiquidCrystal lcd(...) functionality

If I do it so

  uint8_t lcd1 = 2;
  uint8_t lcd2 = 3;
  uint8_t lcd3 = 4;
  uint8_t lcd4 = 5;
  uint8_t lcd5 = 6;
  uint8_t lcd6 = 7;
  boolean runOnce = true;
 
void loop()
{
//  LiquidCrystal lcd(lcd1, lcd2, lcd3, lcd4, lcd5, lcd6);
  if (runOnce){
  LiquidCrystal lcd(lcd1, lcd2, lcd3, lcd4, lcd5, lcd6);
   lcd1 = 3;
   lcd2 = 2;
   lcd.begin(16, disp_zeilen);              // start the library
   lcd.createChar(1, la);
   lcd.createChar(2, ra);
   lcd.createChar(3, bell);
   runOnce = false; 
  }
...
  lcd.setCursor(0,0);

I get "lcd" was not declared in this scope when the compiler comes to the lcd.setCursor()
But it seems to get into the right direction.