handling better proxy