fix dictionary