fix bug with going back to test from result page