fix problem ordering files without captions