remove unnecessary parameters from reboot