Fixed accidental var assignment removal