Fixing typos and correcting errors