small fixes to mirrors comparator