removes redundant proxy