fixed debounce with ajax bug