Corrected debounce