[fix] Check if mep is not null when exporting