fix equipment type export crash