Failure to export data

@Samaralmoghany, the issue has been resolved with this fix: