fixed bug related to incorrect dictionary key parsing