fix bug when exports empty string