fix a typo `chechS3Head` -> `checkS3Head`