Update the code when temp_zone was NULL by add a bool called bool_temp_zone to track and test