fix restart services cmdline args bug