removed dead code
removed restart code