Bug fix if temperature module fails.

Bug fix for if temperature module fails.