fixes #7241 export print prod bug