deleting of xMatrix