string parser helper function
map_subjects bug