only set running_create flag if instance is defined