removes rdoc text