fixed a typo affecting auth