remove class xObject