fix dictionary key