clean up multiple copies of sys