fix the argument passed into result page