fix export plugin bug