debounce fix timer bug