Fixed typo on validate