compare contact attr