modify block is executed repeatly