fixing issues with esri proxy