fix compare auth