minor fixes and doc updates