Fixing heat template'