fixed comma in dictionary throwing errors