removing xmp_error