fix compile errors..