Fixed typo and validate number