improve proxy performance