Fix EOF for real