change search params to integer