auth correction and stuff