fix reload-auth-bug