fix error on log validation