filter out incomplete entries