changes in Rd files, small bug fixes