fixed Rd formatting issues