fix the sequence operation---> thenOpen