fix bugs in .Rd