fix codes of system_shutdown