Wrong ending lines for somes files