fixed some errors and spelling problems