Correct chapter in different file formats