add flag NEW_MODE
change app-collect to log when a dead node should send data