Fixed bug with empty exports