typo and size check