Avoid duplicated headers in exported csv file