fix bug when no auth provided