Fix for #122. getError also now supports fields with underscores