fixes export problems