fix up problems with patch change flgs not changing height correctly