24 hour temp fix for algorithm