custom error off fix