Fix fallout in 3dsm plugin