fix an proxy bug