Hope i have cleared the problem.
Unfortunately this is just a more elaborate lack of info.
As was asked earlier, for someone to actually help, you need to show a screen that worked (use copy/paste and the Code tag) and a screen with problems (again use copy/paste and the Code tag). There is a preview feature so you can see your post as it will appear to the forum (and will look quite like the terminal).
You have either changed the code, the map, or both incorrectly, but without specifics, no one here can do anything but guess. Show the map defineition for a field that still works and one that fails. SHow the code that uses these fields.