fixed crashing , Working Properly

crashing fix , which was happening because of string from null array as
a cell text