fix position of iteration counter