fixed an export issue