Patients were randomly assigned to receive 400 g misoprostol orally ( n = 40 ) , sublingually ( n = 40 ) , or vaginally ( n = 40 ) before operative hysteroscopy ; the control group ( n = 40 ) did not receive any cervical priming agent .