fix compile errors ...