#697: removing wrong error message cache mechanism

This cache mechanism is not necessary and it's not caching properly.