fixed export problem