GUI-311
fixed dereference of None in volume.attach_data