The best thing to do is get some kind of plumber's strap to attach the water heater to the wall so it doesn't fall over.
Steve Chapman