fixed NullReferenceException raising issue when empty cell found