adds empty string and null check for cells