correcting row numbers for plots