restart bug fixed.