Dist_error corrected