cleanup x0r