fixed some small typos and errors