some small fixes and removed typos