minor bug in virmenCopyObject