fixes typos and mistakes