fixed minHeight issue