remove x pointer