More error logging, remove stored from err field xpath