fixing matching rating