fix hotpatch