small bug fix is background and foreground color not set