stateDeleteLine
minor changes