fixing newline and typos