fixed proxy config check