image restore related changes