fix debounce func (wrong indent); function execution time shouldn't influence wait time if possible