fixed up foreign export