fix a minor display bug when swapping logs