set height properly