fixed bug with line numbers and one with special characters