tidy up Rsid