fix the problem with erron_on