added try catch in createReport page