fixed local exports bug