fixed bug with exports not saving