fixed export variables.

related to #2.