when extracting solid or solids from element, set flag to set references