fix components comparisons