only set persisted volume if not null