fix foreman exporting