revise export to excel