fix csv file size and notify JL of mediator error