clear output table on error loading code