fixed proxy bug