Heated Bed Not Cooling Down

I seem to remember that the heated bed and nozzle cool down to 0 whenever the print finishes, but for my recent prints, the bed stays at temperature.

add this to the g code end in slicer

m104 s0; turn off hotend
m140 s0; turn off bed