fix compile errors [ci skip]