adjust the height and remove unnecessary //