restart bug fixed