fix a warning in the export controller code