attempt to fix auth bug