updated error tool
added tables