fix undefined authkey