fix expected number of rows in tem table