adding minheight just in case