fix dictionary kyes