make export work