temperature db tweaks and fixes