fix for auth