covert to same type when comparing quality
[ci skip]