Fixing de-bouncing bug.