fix proxy method