fix export tool bug