clean up RSD