fixed rowNumber bug