fixed redirection to result page