typo in auth checker