implemented defaultHeight support