fix ignore last line