fix in restart server task