without the rewind here the image is empty after being persisted