added try catch slide
changing text format