Corrected more line number counting (starts from zero)