fixed the success and failed results pages