Fix for auth