fix indentation and a few typos