fixed setting height bug

fixed setting height bug