make arrayimage ref/unref
sync