fix spelling error in before action