clean up the rc file