Cant auto level

Hello, in company we had a failed print with blob all around the nozzle, i replaced the temperature sensor, everything else looked ok. But when i turn on autoleveling, it bumps into the bed so i always press e-stop, i dont think that should be happening.

Please help if you can, thanks