Fix obvious errors and typos