Done flag debug