Correction for number of rows