added auto table height