set default min height as more intelligent