fixing the broken syntax of the vms append function