fix a response trigger bug