escape user search inputs, add max_results to pc