fix warm judge