fixed bug related to export type