put limit on selecting record