Fixed common errors from the validator

Errors were noticed on the review.