rmsd example fix