[mod] fixed export logic