x_error added