better way of removing min height