check firstlinelength exists