Fixed nextline issue