add height and width reset