Fix ident at EOF handling