fix /restart bug