fixes bug that a step is analyzed instead of the line