Fix: clean code for no loop flickering.