Error on temperature reading after adding WiFi.begin()

Hi im new in esp32 can any body help me with this lm35 it works fine whenever it is not connected to wifi but when i connect the esp32 to wifi it gives a consistent reading it never changes. thanks!