corrected deleteClimate flag issue