fixed typos and small improvements