a little restart cleanup