minor correction to search inputs