Stability of graphene doping with MoO3 and I2