fix some Rd warnings