Fix incorrect dependencies in heat