remove unused arguments in prepare-rc-server