try to fix compile errors