Fixed ctor issues and height bug