fixing the generation and iteration display