x-auth fix