fixing bug on the export path expression