finish attachment management