demo type usage

use correct attributes for persistent at oneimage type