Fixed some missing and incorrect ;'s and typo