handle table headers visibility and do not fail on duplicate file id submission