return table headers after submit