Fix a bug in furnace