- fix compile errors