Fixed a bug that would lead to not always the correct line of code being dislpayed