fix error on export images