limit inputs on searches