fix bug in delete proxy