Code not working as intended

So I now changed my code to this:

#include "Bounce2.h"
#include "usToDE.h"

const int pin1 = 2;
const int pin2 = 3;
int value1 = 0;
int value2 = 0;
Bounce debouncer1 = Bounce();
Bounce debouncer2 = Bounce();

void setup()
{
  Serial.begin(9600);
  pinMode(pin1, INPUT_PULLUP);
  pinMode(pin2, INPUT_PULLUP);
  debouncer1.attach(pin1);
  debouncer1.interval(5);
  debouncer2.attach(pin2);
  debouncer2.interval(5);
}

void loop()
{
debouncer1.update();
debouncer2.update();
  
value1 = debouncer1.read();
value2 = debouncer2.read();
  
  if (value1 == debouncer1.fell())
    {
    Serial.write ('w');
    }
  if (value1 == debouncer1.rose())
    {
    Serial.write ('w');
    }
  if (value2 == debouncer2.fell())
    {
    Serial.write ('a');
    }
  if (value2 == debouncer2.rose())
    {
    Serial.write ('a');
    }
}

and now I am getting endless w's/a's again if I connect the pin to ground. :frowning:
Is it possible that there is a problem with the board?