debounce state machine has issues.. HELP