fix bug where elevation data is lost in the water model