filter those failed segments when building record file