make compatible with comfy 1.12.3