fixed proxy related bug