height and type setting finished