somewhat fix auth