fix export with arguments.