fixed some minor error and typoes