fix c button not getting released