fix authority bug