error with swapped cell in first row fixed