fixed no auth bug