issue #3192 fixed bug that set wrong  height