ac/heat logic fix