Change line numbers to match the expression