fix: reset the result id when there is no input