Clean export internal variables