bug fix (bug in limit by registers in xls file)