fixed the bug where it didn't know that the error was an array
Map functionality and node enhancements