check limit for select