Dear Farahani,
I tried to simulate here the same example with your modifications and it worked. However, I did the simulation using lattice1 for H2O, lattice2 for N2 and lattice3 for O2. Are you trying to simulate just H2O and N2? I will try to disable the O2 phase and see if it breaks.
Kind regards,
Luiz