minHeight bug fixed