get height properly