Fix for sending circular error object