I tried wifi manager since that is a better tool and it is working just fine although I had to select the esp32 ap manually but now it seems perfect.
*wm:SETTINGS ERASED
*wm:AutoConnect
*wm:No wifi saved, skipping
*wm:AutoConnect: FAILED for 23 ms
*wm:StartAP with SSID: ESP32_3B5D8634
*wm:AP IP address: 192.168.4.1
*wm:Starting Web Portal
*wm:21 networks found
*wm:Connecting to NEW AP: RonsWiFi
*wm:connectTimeout not set, ESP waitForConnectResult...
*wm:Connect to new AP [SUCCESS]
*wm:Got IP Address:
*wm:192.168.4.71
*wm:config portal exiting
connected...yeey :)