somehow working model. PatchVariable has to be make() before using
split.