minor fixes and documentation update