fix dict warnings for R18