parse get params to filter