Fixed AUTH bug