corrected param objects comparison