fix getAuth