debug patch