Correct trait in different file formats