fix discriminator find when param fields is an object