if id == nil?, it is create_shadowcopy fails, isn't there nothing to handle :? Just asking, looks like it's important which the creation of the shadow copy is successful.