comparator to User modal fix