html changes not taken into account prev