'export As' called from Prolog gave GPF