fix auto resize height