check line terminators