tmp remove shutdown when error occured