Fix nil when deleting vapp.