fix vertical height bug