limit the length of recs