fix compile with latest rice