Urgent: fixed bug for going back to previous trial
v2
v2
v3
v3