fix for proxy