couple of small bug fixes and documentation updates