fix compile in LTS