fix dict window refresh

was still using old API